<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 [#include "/webpage/common/common_css.html"/]   
<body>
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30">
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="${cache}/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="${cache}/images/tab_05.gif">
        <img src="${cache}/images/311.gif" width="16" height="16" /> <span class="STYLE4"> 
                            系统公告
         </span>
         </td>
           <td width="281" background="${cache}/images/tab_05.gif">
             <table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
              <td width="60">
                  <table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr style="cursor:pointer" onclick="toPageContentList()">
                    <td class="STYLE1"><div align="center">
                       <img src="${cache}/images/002.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center"  >返回</div></td>
                  </tr>
                 </table> 
             </td>
            </tr>
           </table>
        </td>
        <td width="14"><img src="${cache}/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
       </table>
    </td>
  </tr>
  <tr>
    <td height="60">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
           <tr height="60px" >
              <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
              <td bgcolor="#f3ffe3"> 
                    <form id="pageContentForm" method="post" action="${base}/${action}"> 
                         <input type="hidden" name="pg*id" id="id" value="${content.id!}">
                         <input type="hidden" name="pg*pageContent" id="content" >
                          <input type="hidden" name="pg*status" id="status">
                         <table style="width:100%;font-size:12px;margin-top:15px;" border="0" cellspacing="3" cellpadding="3" >
                            <tr>
                                <td style="text-align:right">标题:</td>
                                <td >
                                   <input name="pg*pageTitle" value="${content.pageTitle!}"> 
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align:right">来源:</td>
                                <td>
                                     <input type="text" name="pg*pageSource" value="${content.pageSource!}">
                                </td>
                             </tr>
                            <tr>
                                <td   style="text-align:right">所属栏目:</td>
                                <td>
                                   <select name="pg*catalogId" style="width:170px">
                                         [#list pageContent as ty]
                                            <option value="${ty.id}"
                                                [#if content.catalogId?exists&&content.catalogId=ty.id]selected[/#if]
                                            >${ty.catalogName}</option> 
                                         [/#list] 
                                   </select>
                                </td>
                            </tr>
                             <tr>
                                <td style="text-align:right">内容:</td>
                                <td>
                                     <textarea cols="45" id="pageContent"   rows="23" >    
                                               ${content.pageContent!}
                                       </textarea>
                                </td>
                             </tr>
                           
                             <tr> 
                                <td colspan="2" style="width:100%">
                                     <div style="margin-left:30%">
                                     <input type="button" value="暂存" onclick="savePageContent('N')">&nbsp;
                                     <input type="button" value="保存并发布" onclick="savePageContent('Y')">&nbsp;
                                     <input type="reset" value="重置">&nbsp;
                                     </div>
                                </td>
                             </tr>

                         </table>
                    </form> 
              </td>
              <td width="9"  background="${cache}/images/tab_16.gif">&nbsp;</td>
           </tr> 
        </table>
    </td>
  </tr>
   
 
   </table>
  </td>
  </tr>
</table> 

<table width="100%" border="0"  height="100%" cellspacing="0" cellpadding="0">
      <tr height="30">
        <td width="15" >
        <img src="${cache}/images/tab_20.gif" width="15"   /></td>
        <td background="${cache}/images/tab_21.gif" style="text-align:center">
          
        </td>
        <td width="14"><img src="${cache}/images/tab_22.gif" width="14"  /></td>
      </tr> 
</table>
[#include "/webpage/common/common_js.html"/]  
<script type="text/javascript" src="${cache}/js/kindeditor/kindeditor-min.js"></script>
<script type="text/javascript" src="${cache}/js/pageContent/pageContent.js"></script>
<script type="text/javascript">
      var editor;
      jQuery(function()
      {
          KindEditor.ready(function(K) {
          editor = K.create('textarea[id="pageContent"]', {
          allowFileManager : true,
          formatUploadUrl:false,
          uploadJson:base +"/kindeditorServlet.do" 
          });
          }); 
      }
      );

</script>
</body>
</html>
